package com.ecoolex.ying.space.ws;


import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import com.ecoolex.ying.space.core.manager.EstateProjectActivityCouponOrderManager;
import com.ecoolex.ying.space.entity.EstateProjectActivityCouponOrder;
import com.ecoolex.ying.space.pojo.SubmitEstateProjectActivityCouponOrderDTO;

@Service
public class EstateProjectActivityCouponOrderServiceImpl implements EstateProjectActivityCouponOrderService{

	@Autowired
	private EstateProjectActivityCouponOrderManager manager;
	
	@Override
	public EstateProjectActivityCouponOrder submit(SubmitEstateProjectActivityCouponOrderDTO submit, String createUser) {
		return manager.submit(submit, createUser);
	}

	@Override
	public EstateProjectActivityCouponOrder getByOrderIdAndUserId(Integer orderId, Integer userId) {
		return manager.getByOrderId(orderId, userId);
	}

	@Override
	public EstateProjectActivityCouponOrder getByOrderId(Integer orderId) {
		return manager.getByOrderId(orderId);
	}

}
